﻿@model ErrorViewModel
@{
    ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error</h1>
<h2 class="text-danger">发生错误</h2>

@if (Model.ShowRequestId)
{
    <p>
        <strong>Request ID:</strong> <code>@Model.RequestId</code>
    </p>
}

<h3>错误信息：</h3>
<p>
    @Model.ErrorMsg
</p>
<p>
    <a href="@Model.Redirect">返回</a>
</p>
<p>
    <a href="/">返回首页</a>
</p>